home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10292 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: erich.triumf.ca!bennett
  2. From: bennett@erich.triumf.ca (P.Bennett)
  3. Newsgroups: comp.lang.c,comp.os.msdos.programmer,comp.periphs.printers
  4. Subject: Re: rotating text for printing
  5. Date: 16 Mar 1996 08:37 PST
  6. Organization: TRIUMF: Tri-University Meson Facility
  7. Distribution: world
  8. Message-ID: <16MAR199608374809@erich.triumf.ca>
  9. References: <1996Mar15.225750.2705@ticipa.works.ti.com>
  10. NNTP-Posting-Host: erich.triumf.ca
  11. News-Software: VAX/VMS VNEWS 1.50    
  12.  
  13. In article <1996Mar15.225750.2705@ticipa.works.ti.com>, kbad@ticipa.works.ti.com (Kevin Badinger) writes...
  14. >Can anyone give me, or point me in the direction to finding information on
  15. >how to rotate text in C so I can print it in a landscape format for old epson
  16. >printers from dos.  I know the newer printers will do all the landscape
  17. >formatting for you, but unfortunately I have to print to the old epsons.  
  18.  
  19. C doesn't include any magic to do this.
  20.  
  21. What you will probably have to do, is to set the printer into graphics mode,
  22. and create a graphic image of the page in memory. You will have to create your
  23. own character set, and figure out what dots to send in which order.
  24.  
  25. You will have to consult the printer manual to find some of the commands needed
  26. to do this.
  27.  
  28.  
  29. Peter Bennett VE7CEI                | Vessels shall be deemed to be in sight
  30. Internet: bennett@triumf.ca         | of one another only when one can be
  31. Packet: ve7cei@ve7kit.#vanc.bc.ca   | observed visually from the other
  32. TRIUMF, Vancouver, B.C., Canada     |                          ColRegs 3(k)
  33. GPS and NMEA info and programs: ftp://sundae.triumf.ca/pub/peter/index.html
  34. or: ftp://ftp-i2.informatik.rwth-aachen.de/pub/arnd/GPS/peter/index.html
  35.  
  36.